package com.share.cloudStorage.shares.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.cloudStorage.shares.model.Shares;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SharesDao extends BaseMapper<Shares> {

    Shares selectShareInfoByLink(String link);

    List<Shares> selectAllByUserId(Integer userId);
}

